package com.sservice.commonBusiness.mapper;

import com.sservice.commonBusiness.e.Statistic;

public interface StatisticMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Statistic record);

    int insertSelective(Statistic record);

    Statistic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Statistic record);

    /**
     * 根据type1 和targetId查询
     *
     * @param record
     * @return
     */
    Statistic selectBy(Statistic record);

    int updateByPrimaryKey(Statistic record);
}